package com.woniu108.carService.commos.exception.upload;

/**
 * @author 谭鹏
 */

public enum UpLoadExceptionCode {
    /**
     *
     */
    FILE_UPLOAD_ERROR(10001,"文件类型错误"),
    FILE_UPLOAD_NULL(10002,"文件名为空"),
    FILE_UPLOAD_LACK_SUFFIX(10003,"文件名缺少后缀");

    private Integer code;
    private String message;

    UpLoadExceptionCode() {
    }

    UpLoadExceptionCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
